#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Times;
using Cephei.QL;
using Cephei.QL.Instruments;
namespace Cephei.QL.Instruments.Bonds
{
     // <summary> 
	// ! \ingroup instruments  \test calculations are tested by checking results against cached values.
	// </summary>
    [Guid ("2BC7E3B4-CD22-4354-B92B-849594FBB39C"),ComVisible(true)]
	public interface IFixedRateBond : Cephei.QL.Instruments.IBond
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Cephei.QL.Times.IDayCounter DayCounter {get;}
        
		 QL.Times.FrequencyEnum Frequency {get;}
    }

    // <summary> 
	// ! \ingroup instruments  \test calculations are tested by checking results against cached values. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IFixedRateBond_Factory // : Collection_Factory<IFixedRateBond, ICell<IFixedRateBond>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IFixedRateBond Create (UInt32 settlementDays, Cephei.QL.Times.ICalendar calendar, Double faceAmount, DateTime startDate, DateTime maturityDate, Cephei.QL.Times.IPeriod tenor, Cephei.IVector<Double> coupons, Cephei.QL.Times.IDayCounter accrualDayCounter, Microsoft.FSharp.Core.FSharpOption<QL.Times.BusinessDayConventionEnum> accrualConvention, Microsoft.FSharp.Core.FSharpOption<QL.Times.BusinessDayConventionEnum> paymentConvention, Microsoft.FSharp.Core.FSharpOption<Double> redemption, Microsoft.FSharp.Core.FSharpOption<DateTime> issueDate, Microsoft.FSharp.Core.FSharpOption<DateTime> stubDate, Microsoft.FSharp.Core.FSharpOption<QL.Times.DateGeneration.RuleEnum> rule, Microsoft.FSharp.Core.FSharpOption<Boolean> endOfMonth, Cephei.QL.IPricingEngine QL_Pricer);
        
	    IFixedRateBond Create (UInt32 settlementDays, Double faceAmount, Cephei.QL.Times.ISchedule schedule, Cephei.IVector<Double> coupons, Cephei.QL.Times.IDayCounter accrualDayCounter, Microsoft.FSharp.Core.FSharpOption<QL.Times.BusinessDayConventionEnum> paymentConvention, Microsoft.FSharp.Core.FSharpOption<Double> redemption, Microsoft.FSharp.Core.FSharpOption<DateTime> issueDate, Cephei.QL.IPricingEngine QL_Pricer);
        
	    IFixedRateBond Create (UInt32 settlementDays, Double faceAmount, Cephei.QL.Times.ISchedule schedule, Cephei.IVector<Cephei.QL.IInterestRate> coupons, Microsoft.FSharp.Core.FSharpOption<QL.Times.BusinessDayConventionEnum> paymentConvention, Microsoft.FSharp.Core.FSharpOption<Double> redemption, Microsoft.FSharp.Core.FSharpOption<DateTime> issueDate, Cephei.QL.IPricingEngine QL_Pricer);
    }
}

